//
// Created by bxw57 on 2024/4/21.
//

#ifndef CPPPRACTICE_CALCULATOR_H
#define CPPPRACTICE_CALCULATOR_H


class Calculator {
protected:
    int num1, num2;
public:
    Calculator(int num1, int num2):num1(num1), num2(num2){}
    virtual double getRes() = 0;
};


#endif //CPPPRACTICE_CALCULATOR_H
